package com.heima.regex;

public class ReplaceAll {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String s = "helloworld";
//		String reg = "[o]";
		String reg = "o";
		String s2 = s.replaceAll(reg, "");
		System.out.println(s2);
	}

}
